<?php
namespace app\common\validate;

use \app\extra\BaseValidate;

class Member extends BaseValidate
{
    protected $rule = [
        'team_id|团队id' =>[
            'require',
        ],
        'name|姓名' =>[
            'require',
            'length' => '0,200'
        ],
        'image|图片' =>[
            'require',
        ],
        'sex|性别' =>[
            'require',
        ],
        'age|年龄' =>[
            'require',
        ],
        'tel|联系方式' =>[
            'require',
        ],
        'card|身份证' =>[
            'require',
            'idCard',
        ],
    ];
    protected $scene = [];
}